<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

// +----------------------------------------------------------------------+
// | Authors	: Tung, Nguyen Dam                                        |
// | Email		: mask_final@yahoo.com									  | 								
// | Mobile		: (+84) 936 885 466                                       |
// | Date		: 06/2011												  |							
// +----------------------------------------------------------------------+
// | Copyrights (C) 2011                                                  |
// | All rights reserved                                                  |
// +----------------------------------------------------------------------+

class Permission{	
	public function __construct(){
		//$ci =& get_instance();
		//$ci->load->library('session', '', 'acl');
		@session_start();
		///$this->load->library('session');
		echo '<pre>';
		print_r($this->session->userdata['user']);
		echo '</pre>';
		die();
		if(!isset($this->session->userdata['user']['id'])){
			redirect('admin/user/login.html');	
		}	
	}
}

